package com.ailink.sap.xml;

public class XmlInfo {
    private StringBuilder up;

    private StringBuilder down;

    private StringBuilder value;

    public String getText() {
        StringBuilder stringBuilder = new StringBuilder();
        if (up != null) {
            stringBuilder.append(up);
        }
        if (value != null) {
            stringBuilder.append(value);
        }
        if (down != null) {
            stringBuilder.append(down);
        }
        return stringBuilder.toString();
    }

    public StringBuilder getUp() {
        return up;
    }

    public void setUp(StringBuilder up) {
        this.up = up;
    }

    public StringBuilder getDown() {
        return down;
    }

    public void setDown(StringBuilder down) {
        this.down = down;
    }

    public StringBuilder getValue() {
        return value;
    }

    public void setValue(StringBuilder value) {
        this.value = value;
    }
}
